package edu.ues21.tcs.ecommerce2011.mvc.model;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


//Clase de mapeado con anotaciones.
@Entity
@Table(name = "usuario")
public class Usuario extends Persona {

	@Id
	@Column(name = "user")
	private Integer user;

	@Column(name = "password")
	private String password;

	public Usuario() {

	}

	public Usuario(Integer user, String password) {
		this.user = user;
		this.password = password;
	}

	public Integer getUser() {
		return user;
	}

	public void setUser(Integer user) {
		this.user = user;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	

}
